package com.study.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


/**
 *客户端配置类
 */
@Configuration
@Data
public class FastDFSConfig {

    @Value("${fdfs.tracker.server}")
    private String trackerServer;

    @Value("${fdfs.storage.server}")
    private String storageServer;

    @Value("${fdfs.http.port}")
    private int httpPort;

    @Value("${fdfs.group.name}")
    private String groupName;

    @Value("${fdfs.config.connect_timeout}")
    private int connectTimeout;

    @Value("${fdfs.config.network_timeout}")
    private int networkTimeout;

    @Value("${fdfs.config.charset}")
    private String charset;


}
